home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Entertainment / tblt / tblt⁄tablut.r < prev    next >
Encoding:
Text File  |  1986-09-04  |  3.4 KB  |  177 lines  |  [TEXT/MACA]

  1. *  tablut.r -- Resource definition file for the game of Tablut.
  2. *    Note: pre-compiled resources are included at the end of this file.
  3.  
  4. * Tell RMAKER what to name the resource file
  5. Tablut:tblt/tablut
  6. APPLTBLT
  7.  
  8. * Version data for the finder
  9. *    Our signature is "tblt", res. ID = 0, by convention.
  10. *    Note that the blank in 'STR ' is significant
  11. TYPE TBLT = STR 
  12.   ,0
  13.   Tblt Version 1.1 -- September 3, 1986
  14.  
  15. * Menus
  16. *   ID (4 => pre-load the resource; MUST NOT be purgeable!)
  17. *   menu title: an Apple symbol (in hex) for the Apple menu.
  18. *   menu entries, one per line. ( means it's initially disabled.
  19. *   An entry of  (-  means a disabled line of dashes.
  20. *   A trailing /Q means a command-key equivalent.
  21. *   blank line at end of menu.
  22. Type MENU
  23.   ,1(4)
  24. \14
  25.  About Tablut...
  26.  (-
  27.  
  28.   ,2(4)
  29. File
  30.  New Game/N
  31.  Open...
  32.  Save/S
  33.  Save As...
  34.  (-
  35.  Quit To...
  36.  Quit/Q
  37.  
  38.    ,3(4)
  39. Edit
  40.  (Undo
  41.  (-
  42.  Cut/X
  43.  Copy/C
  44.  Paste/V
  45.  Clear
  46.  
  47.    ,4(4)
  48. Rules
  49.   Pieces...
  50.   Movement...
  51.   Capture...
  52.   Objectives...
  53.   Reference...
  54.  
  55. * A Window template
  56. *   ID,(4 => pre-load the resource; 32 => purgeable)
  57. *    title
  58. *    BoundsRect (global Top, Left, Bottom, Right): where it appears
  59. *    Vis NoGo: it's visible, does not have close box
  60. *    ProcId: this is a standard type of window
  61. *    Refcon, for program's use.  Tablut doesn't use it.
  62. Type WIND
  63.   ,260(36)
  64.   Tablut
  65.   39 0 342 512
  66.   Visible NoGoAway
  67.   0
  68.   0
  69.  
  70. * Play/Stop Radio Buttons
  71. Type CNTL
  72.   ,129(36)
  73. Play
  74.   12 16 32 96
  75.   Visible
  76.   2
  77.   0
  78.   0 1 0
  79.  
  80.   ,130(36)
  81. Stop
  82.   37 16 57 96
  83.   Visible
  84.   2
  85.   0
  86.   0 1 0
  87.  
  88. * control for the "Look" scrollbar that browses through a game.
  89. Type CNTL
  90.   ,131(36)
  91. Look
  92.   67 16 83 96
  93.   Visible
  94.   16
  95.   0
  96.   0 20 20
  97.  
  98. * Strings for the game status display, File I/O, and error messages
  99. Type STR#
  100.   ,129(36)
  101.   3
  102. Move:
  103. Game White
  104. Game Black
  105.  
  106.   ,130(36)
  107.   2
  108. Save current game as:
  109. Untitled
  110.  
  111.   ,401(4)
  112.   30
  113. The directory is full.
  114. The disk is full.
  115. The disk can't be found.
  116. I/O error.
  117. That name is unacceptable.
  118. The requested file is not open.
  119. End of file.
  120. Attempt to position before the start of the file.
  121. Out of memory.
  122. Too many files are open.
  123. The file can't be found.
  124. The disk is write-protected.
  125. That file is locked.
  126. The disk is locked.
  127. That file is in use.
  128. That file already exists.
  129. That file is already open.
  130. Error in parameter list.
  131. Reference to a closed file.
  132. Could not get file position.
  133. That disk is ejected.
  134. The file cannot be opened in that way.
  135. That disk is already on-line.
  136. That drive cannot be found.
  137. That is not a Macintosh diskette.
  138. That disk is ejected.
  139. That disk is corrupted.
  140. That disk's master directory is corrupted.
  141. Can't write that file.
  142. Out of memory.
  143.  
  144.   ,402(4)
  145.   3
  146. Out of memory.
  147. That file is not a Tablut file.
  148. That file is corrupted.
  149.  
  150. * Finder's Information follows.
  151. Type BNDL
  152.    ,128(32)
  153.    TBLT 0
  154.    ICN#
  155.    0 128 1 129
  156.    FREF
  157.    0 128 1 129
  158.  
  159. * a File Reference
  160. *   "APPL" : a file of type APPL (TBLT itself) gets the following icon
  161. *   "TBTF" : a file of type TBTF (a Tablut game file) gets this icon.
  162. *       local icon ID; maps to global ID as specified in BNDL
  163. *   name of file that must accompany application if transferred; omit if none.
  164. Type FREF
  165.   ,128(32)
  166.   APPL 0
  167.   ,129(32)
  168.   TBTF 1
  169.  
  170. * The Icon itself is in the file of compiled resources (tabres.res)
  171. ****    end of information for the finder   ****
  172.  
  173. * include pre-compiled resources
  174. INCLUDE Tablut:tblt/tabres.res
  175. INCLUDE Tablut:tblt/tablut.code
  176. ************************************************
  177.